package ch07.proxy;

/**
 * @description: 为其他对象提供一种代理以控制对这个对象的访问
 * @author: Fesine
 * @createTime:2016/8/29 9:29
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2016/8/29 9:29
 */
public class Client {
    public static void main(String[] args) {
        SchoolGirl mm = new SchoolGirl();
        mm.setName("李娇娇");
        Proxy proxy = new Proxy(mm);
        proxy.giveDolls();
        proxy.giveFlowers();
        proxy.giveChocolate();
    }
}
